<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MySpace Flood API Demo</title>
<link rel="stylesheet" href="static/base.css" type='' "text/css" />
</head>
<body>
   <div id="spacer">  </div>

		<div id="header">
			 [<b>{{ user_name }}</b>] Subscribe To MySpace Flood:
		</div>

   <div id="spacer">  </div>
      <div id="container">
		<form action="/subscribe_to_ms" method="post">
			<p><h3>Customize the subscription query, or choose the default below:</h3> [<b>Note</b>: Enter the query in XML format. Leave the line with the __CALLBACK_URL__ below as is. It will be substituted appropriately before the subscription query is sent]</p>
			<textarea name="query_xml" rows="20" cols="80">
<?xml version="1.0" encoding="utf-8"?>
<Subscription>
   <Type>All</Type>
   <Endpoint><![CDATA[__CALLBACK_URL__]]></Endpoint>
   <Query></Query>
   <MetaData>UserInfo,UserSubscribers,ApplicationData</MetaData>
   <BatchSize>1</BatchSize>
   <Rate>10</Rate>
   <Format><![CDATA[application/atom+xml]]></Format>
</Subscription>			
			</textarea>
			<input type="hidden" name="user_id" value="{{user_id}}" />
			<div><input type="submit" value="Subscribe To Updates"></div>			
		</form>
      </div>
</body>
</html>